import {defineStore} from 'pinia';

const commonStore = defineStore('commonStore', {
    state: () =>( {
        cacheSearch: reactive({}),
    }),
    getters: {
        getCacheSearch() {
            return this.cacheSearch;
        },
    },
    actions: {
        setCacheSearch(data) {
            this.cacheSearch = data;
        }
    }
});
export default commonStore;
